package com.foreveross.fetl.application.impl;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.foreveross.fetl.application.IAirSpreadApplication;
import com.foreveross.fetl.common.application.BaseApplicationImpl;
import com.foreveross.fetl.core.domain.freight.AirSpread;

@Transactional
@Service("airSpreadApplication")
public class AirSpreadApplicationImpl extends BaseApplicationImpl implements
		IAirSpreadApplication {

	@Override
	public int createSingle(List<String> airCompanys, List<String> compareChanels, String formCity,
			String toCity, Date reportDate, Date flightDate) {
		AirSpread airSpread =new AirSpread();
		return airSpread.createSingle(airCompanys, compareChanels, formCity, toCity, reportDate, flightDate);
	}

}
